<!--WARNING: This file is maintained by ROO! IT WILL BE OVERWRITTEN unless you specify null	@RooWebScaffold(automaticallyMaintainView = false) in the governing controller-->
<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>
<script type="text/javascript">dojo.require("dijit.TitlePane");</script>
<div dojoType="dijit.TitlePane" style="width: 100%" title="Update Project">
    <form:form action="/yourscrum/project/${project.id}" method="PUT" modelAttribute="project">
        <div id="roo_project_title">
            <label for="_title">Title:</label>
            <form:textarea cssStyle="width:250px;height:5em" id="_title" path="title"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_title", widgetType: "dijit.form.Textarea", widgetAttrs: {value: ""}})); </script>
            <br/>
            <form:errors cssClass="errors" id="_title" path="title"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_title", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Title (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_project_description">
            <label for="_description">Description:</label>
            <form:textarea cssStyle="width:250px;height:26em" id="_description" path="description"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_description", widgetType: "dijit.form.Textarea", widgetAttrs: {value: ""}})); </script>
            <br/>
            <form:errors cssClass="errors" id="_description" path="description"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_description", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Description (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_project_themes">
            <c:if test="${not empty themes}">
                <label for="_themes">Themes:</label>
                <form:select cssStyle="width:250px" id="_themes" path="themes">
                    <form:options itemValue="id" items="${themes}" itemLabel="title"/>
                </form:select>
                <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_themes", widgetType: "dijit.form.MultiSelect")); </script>
            </c:if>
        </div>
        <br/>
        <div id="roo_project_teams">
            <c:if test="${not empty teams}">
                <label for="_teams">Teams:</label>
                <form:select cssStyle="width:250px" id="_teams" path="teams">
                    <form:options itemValue="id" items="${teams}" itemLabel="name"/>
                </form:select>
                <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_teams", widgetType: "dijit.form.MultiSelect")); </script>
            </c:if>
        </div>
        <br/>
        <div class="submit" id="roo_project_submit">
            <script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
            <input id="proceed" type="submit" value="Update"/>
        </div>
        <form:hidden id="_id" path="id"/>
        <form:hidden id="_version" path="version"/>
    </form:form>
</div>
<jsp:directive.include file="/WEB-INF/jsp/footer.jsp"/>
